package chapte12.a;

/**
 * 人类
 */

public abstract class Mankind {
    /*** 国籍*/
    private String nationality;
    /*** 名字*/
    private String name;
    /***性别*/
    private String gender;
    /***年龄*/
    private int age;


    /*** 构造器*/
    public Mankind(){}
    public Mankind(String nationality,String name, String gender,int age){
        this.nationality = nationality;
        this.name = name;
        this.gender = gender;
        this.age = age;
    }
    /***简绍*/
    public abstract void synopsis();


    /***调用修改*/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }
}
